import { createApp } from 'vue'
import Antd from 'ant-design-vue'
import App from './App'
import router from './router'
import store from './store'
import 'ant-design-vue/dist/antd.less'
import '@/vab'
import Panel from './plugins/panel/Panel.vue'
//--------------其他组件-----------
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'

//解决column width 宽度问题
VXETable.setup({
  table: {
    autoResize: true,
  },
})
import FlowDesignTCD from '../object' //流程编辑器

const app = createApp(App)

app.use(VXETable)
app.use(FlowDesignTCD) //流程编辑器
app.component('panel', Panel)

app.use(store).use(router).use(Antd).mount('#app')
